package io.qar.flavors.dao;

import io.qar.commons.mybatis.dao.BaseDao;
import io.qar.flavors.entity.DishFlavorsEntity;
import io.qar.flavors.entity.FlavorsEntity;
import io.qar.tags.entity.DishTagsEntity;
import io.qar.tags.entity.TagsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* 菜品口味表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-06-10
*/
@Mapper
public interface FlavorsDao extends BaseDao<FlavorsEntity> {
    void deleteDishFlavoersRelation(List<Long> dishIds, List<Long> flavorIds);

    void batchInsertDishFlavorsRelation(List<DishFlavorsEntity> lists);
    List<DishFlavorsEntity> flavorsByDishId(Long dishId, List<Long> flavorIds);
	
}